package com.bydq.patrolsystem.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bydq.patrolsystem.entity.PsRole;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 写代码是不可能写代码的啦~~
 * @since 2020-05-22
 */
public interface PsRoleService extends IService<PsRole> {

    IPage<PsRole> selectPageByEnditions(Integer currentPage, int pageSize, String roleName, String isStart);

    boolean setStart(Integer id, Integer start);

    List<PsRole> listStartRole();
}
